package com.web.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class ResultModel {
	private String username;
	private String title;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date topictime;
	private String theme;

	
	public ResultModel() {}
	public ResultModel(String username,String title,Date comtime,String theme,String comcontent) {
		super();
		this.username=username;
		this.title=title;
		this.topictime=comtime;
		this.theme=theme;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getTheme() {
		return theme;
	}
	public void setTheme(String theme) {
		this.theme = theme;
	}
	public Date getTopictime() {
		return topictime;
	}
	public void setTopictime(Date topictime) {
		this.topictime = topictime;
	}
	
	

}
